#!/bin/sh

if [ -d "outputs" ]; then
	rm -rf ./output
fi

mkdir ./output

for file in ./tests/*.txt
do
	echo $file
	pname=${file%.txt}
	name=${pname##*/}
	cat $file | java -jar carmadness.jar > ./output/${name}_output.txt
done
